package com.fulihui.wgj.admin.api.wx48.request;

import com.fulihui.common.request.web.CommonRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
@ApiModel("微信48小时发送到手机预览请求")
public class Wx48NewsSendPreRequest extends CommonRequest {

    @ApiModelProperty(value = "图文id")
    @NotNull(message = "图文id不能为空")
    private Long newsId;

    @ApiModelProperty("微信用户openid")
    @NotEmpty(message = "微信用户openid不能为空")
    private String openid;
}